<?php defined('SYSPATH') or die('No direct script access.');

class Interest extends Track {

	protected $url;
	protected $categories;
	protected $subcategories;
	protected $hashcookie;
	protected $file_name;

	public function __construct($categories='', $subcategories='', $hashcookie='')
	{
		parent::__construct();
		$this->url = $this->url.'/interest';
		$this->file_name = $this->file_name.'.interest';
		$this->categories = $categories;
		$this->subcategories = $subcategories;
		$this->hashcookie = $hashcookie;
		$data = array(
			'url' => $this->url,
			'categories' => $this->categories,
			'subcategories' => $this->subcategories,
			'hashcookie' => $this->hashcookie,
			'file_name' => $this->file_name,
		);
		parent::doTrack($data);
	}
}